package cn.hs.service;

import cn.hs.entity.Consult;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ConsultService {

    PageInfo getConsultList(Consult consult,int pageNum, int pageSize);

int insert(Consult consult);

   int updateByPrimaryKey(Consult consult);
    int deleteByPrimaryKey(Integer id);
   PageInfo findById(Integer id ,int pageNum, int pageSize);
    PageInfo getConsultList2(Consult consult,int pageNum, int pageSize);

}
